package com.excel.export;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import com.google.common.collect.Lists;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 供需对接-需求材料
 *
 * @author Walt
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SupMaterialEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 材料名称
     */
    @Excel(name = "材料名称", width = 20, needMerge = true)
    private String name;




    /**
     * 需求数据项
     */
    @ExcelCollection(name = "")
    private List<DataitemEntity> dataitemList = Lists.newArrayList();



}
